package com.coolingme;

/**
 * @author wangyue
 * @date 2022/09/25 15:33
 */
public class LoginServiceImpl implements ILoginService {

    @Override
    public String login(String username, String password) {
        // 业务逻辑
        if (username.equals("admin") && password.equals("admin")) {
            return "success";
        }
        return "fail";
    }

}
